<?xml version="1.0" encoding="UTF-8"?>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:a4j="https://ajax4jsf.dev.java.net/ajax"
	xmlns:rich="http://richfaces.ajax4jsf.org/rich" xml:lang="en" lang="en">
	<head>
		<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
		<title>无标题文档</title>
		<link href="../css/public.css" rel="stylesheet" type="text/css" media="screen"/>
		<link href="../css/main.css" rel="stylesheet" type="text/css"  media="screen"/>
		<script type="text/javascript">		
			function closeWin(){
			window.open("","_self");
			top.opener=null;
			top.close();
			}
		</script>
		<style type="text/css">
		body{
			background:url(../images/bottom_bg.gif) repeat-x top left;
		}
		</style>
	</head>
	<body>
	<h:form>
	<a4j:poll interval="2000" action="#{LoginLogBB.updateLoginLog}" reRender="online_time_id"></a4j:poll>
	   <div id="footer">
   			<table border="0" align="center" cellpadding="0" cellspacing="0" width="100%"   class="bottom_class">
				<tr>
					<td width="6"><img src="../images/bottom_l.gif" width="6" height="27" border="0" /></td>
					<td >
						<h:outputText value="登陆时间：#{headBB.loginTime}">
							 <f:convertDateTime pattern="yyyy-MM-dd HH:mm:ss"  timeZone="GMT+8"/>
						</h:outputText>
						<h:outputLabel id="online_time_id" value="**您已在线：#{LoginLogBB.online_time_value}"/>
						</td>
					<td width="70">

				        	<a4j:commandButton value="退  出" action="#{exitHandle.logOut}" oncomplete="closeWin()" image="/images/exit.jpg"></a4j:commandButton>
						
					</td>
					<td width="6"><img src="../images/bottom_r.gif" width="6" height="27" border="0" /></td>
				</tr>
			</table>
	   </div></h:form>
	</body>
</html>
	